package com.example.doma.mapper;

import com.example.doma.pojo.re_pu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface re_puMapper {

    @Select("select * from re_pu")
    List<re_pu> getre_pus();
    re_pu getre_puByid(int id);
    int  update(re_pu re);
    int add(re_pu re);
    int deleteByid(int id);
}
